#include"SetDef.h"

#define SUCCESS                 0
#define FAILURE                 -1
#define TRUE                    1
#define FALSE                   0
#define PFL_MEMO_CHARACTER      '#'
#define S_APP_PROFILE           "APP_PROFILE"

#define _POSIX_PATH_MAX         1024
#define _POSIX_MAX_INPUT        1024
#define S_FILE_SECTION          "FILE"
#define S_TRACE_LOG             "TRACE_LOG"

int nIsSection(char * vspLine);
int nIsThisEntry(const char *vspLine, const char *vspEntry);
int nIsThisSection(const char *vspLine, const char *vspSection);
int nPflGetShort(const char *vspSection,
                const char *vspEntry,
                const char *vspFilename,
                int *vnpValue);
int nPflGetInt(const char *vspSection,
                const char *vspEntry,
                const char *vspFilename,
                int *vtpValue);
int nPflGetLong(const char *vspSection,
                const char *vspEntry,
                const char *vspFilename,
                int *vlpValue);
int nPflGetString(const char *vspSection,
                    const char *vspEntry,
                    const char *vspFilename,
                    char *vspValue);
ANode* nPflGetAttr(const char *vspSection,
		        const char *vspFilename);
void vClearBlank(char *vspLine);
void vCutContent(char *vspLine, char *vspDest);


char *spLtrim( char *vspStr );
char *spRtrim(char *vspStr);
char *spAlltrim(char *vspStr);
